package com.eshopkeeper.provider.sys;

import com.baomidou.mybatisplus.plugins.Page;
import com.eshopkeeper.core.base.BaseProvider;
import com.eshopkeeper.model.sys.SysMenu;
import com.eshopkeeper.model.sys.ext.SysMenuBean;

import java.util.List;
import java.util.Map;


public interface ISysMenuProvider extends BaseProvider<SysMenu> {

    /**
     * 获取所有权限选项(value-text)
     */
    public List<Map<String, String>> getPermissions();

	public void insertSysMenu(SysMenu sysMenu);

	public List<Map<String, Object>> queryParentList();
	//菜单列表
	Page<SysMenuBean> queryMenuList(Map<String, Object> mapParam);

    int updateMenuById(SysMenuBean sysMenuBean);
}
